package org.nicocube.airain.app.client.domain;

import java.io.Serializable;
import java.util.Date;

import org.nicocube.airain.domain.client.character.Gender;
import org.nicocube.airain.domain.client.gamedate.GameDate;


public class AppGameCharacter implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long order;

	private String name;

	private Date creationDate;
	
	private GameDate birthDate; 
	
	private Gender gender;
	
	protected AppGameCharacter() {
	}
	
	/**
	 * Constructor for not already saved object
	 * @param name
	 * @param gender
	 */
	public AppGameCharacter(String name, Gender gender) {
		this.order = null;
		this.name = name;
		this.gender = gender;
		this.creationDate = null;
	}
	/**
	 * 
	 * @param name
	 * @param gender
	 */
	public AppGameCharacter(long order, String name, Gender gender,Date creationDate,GameDate birthDate) {
		this.order = order;
		this.name = name;
		this.gender = gender;
		this.creationDate = creationDate;
		this.birthDate = birthDate;
	}

	public Long getOrder() {
		return order;
	}

	public String getName() {
		return name;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public Gender getGender() {
		return gender;
	}


	public GameDate getGameDate() {
		return birthDate;
	}
}
